﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net;

namespace WeFeTeLib.FUSE
{
    class FUSEFramework : Framework
    {
        public FUSEFramework() 
            : base() 
        {
            name = "FUSE";
        }

        public override void setDefaultFiles()
        {
            frameworkFiles.Add(new File("asdf.html", "No route was recognized for that URL.",
                HttpStatusCode.NotFound));
            frameworkFiles.Add(new File("config/routes.conf.php", "FuseURIRouter", HttpStatusCode.OK));
            frameworkFiles.Add(new File("config/common.conf.php", "determine_base_uri()", HttpStatusCode.OK));
            frameworkFiles.Add(new File("config/environment.conf.php", 0, HttpStatusCode.OK));
            frameworkFiles.Add(new File("config/bootstrap.inc.php", 0, HttpStatusCode.OK));
        }

        public override void setDefaultCookies()
        {
            
        }

        public override void setDefaultFolders()
        {
            frameworkFolders.Add(new Folder("manage/", HttpStatusCode.Forbidden));
        }

        public override void setDefaultHeaders()
        {
        }
    }
}
